package com.elink.enginerring.type.dao;

import java.util.List;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;

import com.elink.enginerring.type.entity.Type;

public interface TypeMapper {
	int deleteByPrimaryKey(Integer typeId);

	int insert(Type record);

	int insertSelective(Type record);

	Type selectByPrimaryKey(Integer typeId);

	int updateByPrimaryKeySelective(Type record);

	int updateByPrimaryKey(Type record);

	List<Type> getList();

	@Delete("delete  from type where find_in_set(type_id,#{ids})")
	void del(@Param("ids") String ids);

	void order(@Param("id")String id, @Param("seq")String seq);
	
	int getMaxSeq();
}